package com.itheima.service;


import com.itheima.mapper.UserMapper;
import com.itheima.pojo.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserService {

    @Resource
    private UserMapper userMapper;

    public User findUserById(String username){
       return userMapper.findUserById(username);
    }
}
